package service.message;

import java.io.Serializable;
import java.io.Writer;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement(name ="xml")
public class QRCodeEvent implements Serializable{
	// 开发者微信号
	@XmlElement
    private String ToUserName;
 // 发送方帐号（一个OpenID）
	@XmlElement
    private String FromUserName;
    // 消息创建时间 （整型）
	@XmlElement
    private long CreateTime;
    // 消息类型
	@XmlElement
    private String MsgType;
    // 事件类型
	@XmlElement
    private String Event;
	// 事件KEY值
	@XmlElement
	private String EventKey;
    // 用于换取二维码图片
	@XmlElement
    private String Ticket;
    

    public String getToUserName() {
		return ToUserName;
	}
	public void setToUserName(String toUserName) {
		ToUserName = toUserName;
	}
	public String getFromUserName() {
		return FromUserName;
	}
	public void setFromUserName(String fromUserName) {
		FromUserName = fromUserName;
	}
	public long getCreateTime() {
		return CreateTime;
	}
	public void setCreateTime(long createTime) {
		CreateTime = createTime;
	}
	public String getMsgType() {
		return MsgType;
	}
	public void setMsgType(String msgType) {
		MsgType = msgType;
	}
	public String getEvent() {
		return Event;
	}
	public void setEvent(String event) {
		Event = event;
	}
	public String getEventKey() {
		return EventKey;
	}
	public void setEventKey(String eventKey) {
		EventKey = eventKey;
	}
	public String getTicket() {
		return Ticket;
	}
	public void setTicket(String ticket) {
		Ticket = ticket;
	}
	
}
